package com.smartown.androiddevelopart.chapter2;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

/**
 * Created by Smartown on 2017/2/8.
 * <p>
 * <a href="https://github.com/smartown">https://github.com/smartown<a/>
 * <p>
 * 开启多进程模式，进程1
 */
public class Process1Activity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        UserManager.sUserId = 2;
        Log.i("Process", "UserManager.sUserId = " + UserManager.sUserId);
        startActivity(new Intent(this, Process2Activity.class));
    }

}
